﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Thanhlichtek.BOS.Bullhorn.BullhornApi;
using Thanhlichtek.BOS.Ongage;

namespace Thanhlichtek.BOS.Win
{
    public class SyncInfoObject
    {
        public List<SyncInfoDetailObject> SyncInfoDetailObjects = new List<SyncInfoDetailObject>();
        public List<Ongage.ContactLookupResult> OngageNotInBullhornAccounts = new List<ContactLookupResult>();
        public Bullhorn.Account BullhornAccount { get; set; }
        public distributionListDto BullhornList { get; set; }
        public GetListsResult.ListInfo OngageList { get; set; }
        public corporateUserDto CorporateUser { get; set; }

        public String BullhornUserName { get { return BullhornAccount.UserName; } }
        public String BullhornListName { get { return BullhornList.name; } }
        public int BullhornListId { get { return BullhornList.distributionListID; } }
        public String OngageListName { get; set; }
        public String Progress { get; set; }
        public String Status { get; set; }
        public int NoOfClientContacts { get; set; }

        public int NoOfCreatedClientContacts { get; set; }
        public int NoOfUpdatedClientContacts { get; set; }
        public int NoOfFailed { get; set; }
        public int NoOfIgnored { get; set; }
        public int NoOfDeleted { get; set; }

        public String SalesPerson { get { return CorporateUser.firstName + " " + CorporateUser.lastName; } }
    }
}
